Skip to main content

All Questions

7votes
4answers
969views

Creates class and makes animals, then print bios

...
LMays's user avatar
2votes
3answers
139views

Rock Paper Scissors with file save/load

Took me a couple days and I had to make 2 versions. Version 1.2 is better looking and more readable, with better functionality. No where near optimized though, as I know nothing about that. Save and ...
Beginner's user avatar
3votes
3answers
168views

Creating a class and calling it from other .py files

My objective with this code was to create a class and call it from other .py files. The code itself is working, but I would like to know what could be improved or be better implemented. I wrote ...
zaratabata's user avatar
1vote
1answer
259views

User Registration

I'm fairly new to PHP and am very interested in learning best practices, etc. I have just created a user registration system mostly in OOP that will dump user info into a database I've created. This ...
Houston Molinar's user avatar
6votes
1answer
2kviews

Deleting a user from a database

I was hoping if anyone could tell me if I'm doing this correctly, I know there are other questions like this but everyone codes different and I just feel that I'm not doing this right. I'm trying to ...
Script47's user avatar
8votes
2answers
2kviews

User authentication system

I'm new to OO PHP and I'm trying to create a simple properly-designed user authentication system. What am I doing right and what not? Is this right according to the MVC model? Connection.class.php <...
JasonK's user avatar
4votes
2answers
9kviews

Implementation of OOP for retrieving list of objects from database

If I have a Person class that outlines the properties of a person and one of People that just contains a ...
BS123's user avatar
3votes
2answers
846views

Object-oriented design of list of primes

Is there a better way to implement this class, or does it not constitute implementation in the first place? This is one of my first few tries at OOP. Any suggestions will be much appreciated. <...
albertjorlando's user avatar

close